package com.billsystem.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
//消费的账单
public class RecordVo {
    private Integer id;//账单id
    private Integer cid;//种类id
    private Integer aid;//账户id
    private Double spend;//花费金额
    private String comment;//消费描述
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date date;//消费日期
    private Integer uid;//用户id
    private String categoryName;//种类的名字
    private String accountName;//账户的名字
    private Character incomeExpend;//收入还是支出 0为支出 1为收入
}
